/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.srcptit.javatrainning.thupt.b1;

import java.util.Scanner;

/**
 *
 * @author Autumn
 */
public class bai1b {
    public static float a[];
    public static int n;
    public static void main(String args[]){
        nhap();
        sapxep();
        hienthi();
                                          }
    public static void nhap(){
        Scanner sc=new Scanner(System.in);
        n=sc.nextInt();
        a=new float[n];
        for(int i=0;i<n;i++)a[i]=sc.nextFloat();
                              }
    public static void hienthi(){
        for(int i=0;i<n;i++)System.out.print(a[i]+ " ");
        System.out.println();
                                 }
    public static void sapxep(){
        for(int i=0;i<n-1;i++)
            for(int j=i+1;j<n;j++)if(a[i]>a[j]){float t=a[i];
                                                a[i]=a[j];
                                                a[j]=t;
                                                 }
                                }
}
